package com.huarui.donation.dao.impl;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.impl.BaseDaoImpl;

import com.huarui.donation.dao.IDonationDao;

public class DonationDaoImpl extends BaseDaoImpl implements IDonationDao {

	@SuppressWarnings("unchecked")
	public Integer getCountByConditions(Map map){
		return (Integer) this.getSqlMapClientTemplate().queryForObject(namespace+".getCountByConditions", map);
	}
	@SuppressWarnings("unchecked")
	public List<Map> getListByConditions(Map map){
		return  (List<Map>) this.getSqlMapClientTemplate().queryForList(namespace+".getListByConditions", map);
	}

}
